package com.rabbitmq.learn.common;

/**
 * Created by Lxk on 2019/8/11.
 */
public interface RabbitMqConstant {

    interface Simple{

        String QUEUE_NAME = "simple_queue";

    }

    interface Work {
        String QUEUE_NAME = "work_queue";
    }

    interface PubSub {

        String EXCHANGE_NAME = "exchange_name_pubsub";

        String QUEUE_NAME = "pubsub_queue";

        String QUEUE_NAME2 = "pubsub_queue2";
    }

    interface Routing{

        String EXCHANGE_NAME = "exchange_name_routing";

        String QUEUE_NAME = "routing_queue";

        String QUEUE_NAME2 = "routing_queue2";
    }

    interface Topic {

        String EXCHANGE_NAME = "exchange_name_topic";

        String QUEUE_NAME = "topic_queue";

        String QUEUE_NAME2 = "topic_queue2";

    }

    interface TxSimple {
        //发送端事务模式进行消息发送，保证不丢失
        String QUEUE_TX_SIMPLE = "tx_simple_queue";
    }

    interface ConfirmSync {

        String QUEUE_CONFIRM_SYNC = "queue_confirm_sync";

    }

    interface ConfirmUnsync {
        String QUEUE_CONFIRM_UNSYNC ="queue_confirm_unsync";
    }

}
